<div id="left">
	<div class="nav-slideup"><i class="fa fa-angle-right"></i></div>
	<div class="title">
		<i class="fa fa-bars"></i>导航
		<div class="nav-slidedown"><i class="fa fa-angle-left"></i></div>
	</div>
	<ul id="nav">
		<li>个人<i class="fa fa-angle-right"></i></li>
		<if condition="preg_match('/YW/',$login_permissions_rule) || preg_match('/KJ/',$login_permissions_rule) || preg_match('/GY/',$login_permissions_rule) || preg_match('/RC/',$login_permissions_rule) || preg_match('/MB/',$login_permissions_rule) || preg_match('/IP/',$login_permissions_rule)">
		<li>搜库<i class="fa fa-angle-right"></i></li>
		</if>
<!--		
		<if condition="(preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130003 || in_array('130003',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule)) || (preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/SC/',$login_permissions_rule)) || (preg_match('/JC_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/JC/',$login_permissions_rule)) || (preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/KH/',$login_permissions_rule)) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/BM/',$login_permissions_rule))">
		<li>拓展中心<i class="fa fa-angle-right"></i></li>
		</if>
-->
		<if condition="preg_match('/CRMS-C/',$login_permissions_rule) || (preg_match('/CRML-X/',$login_permissions_rule)) || (preg_match('/CRMX-M/',$login_permissions_rule)) || (preg_match('/CRMH-T/',$login_permissions_rule)) || (preg_match('/CRMG-J/',$login_permissions_rule))">
		<li>CRM<i class="fa fa-angle-right"></i></li>
		</if>
		<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130004 or in_array('130004',$login_select_id)) && preg_match('/XM/',$login_permissions_rule)) || (preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130004 || in_array('130004',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule)) || (preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/SC/',$login_permissions_rule)) || (preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/KH/',$login_permissions_rule)) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/BM/',$login_permissions_rule))">
		<li>建设管理<i class="fa fa-angle-right"></i></li>
		</if>
		<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130005 or in_array('130005',$login_select_id)) && preg_match('/XM/',$login_permissions_rule)) || preg_match('/ZB/',$login_permissions_rule) || (preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130005 && preg_match('/KH/',$login_permissions_rule)) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130005 && preg_match('/BM/',$login_permissions_rule)) || preg_match('/XZ/',$login_permissions_rule) || preg_match('/YX/',$login_permissions_rule) || preg_match('/JY/',$login_permissions_rule)">
		<li>运营管理<i class="fa fa-angle-right"></i></li>
		</if>
<!--
		<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130011 or in_array('130011',$login_select_id)) && preg_match('/XM/',$login_permissions_rule)) || (preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130011 || in_array('130011',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule)) || (preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/SC/',$login_permissions_rule)) || (preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/KH/',$login_permissions_rule)) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/BM/',$login_permissions_rule))">
		<li>景翼<i class="fa fa-angle-right"></i></li>
		</if>
-->
		<!--<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130008 && preg_match('/BM/',$login_permissions_rule))">
		<li>管理学院<i class="fa fa-angle-right"></i></li>
		</if>-->
		<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130007 && preg_match('/BM/',$login_permissions_rule)) || (preg_match('/WZ/',$login_permissions_rule)) || (preg_match('/ZW/',$login_permissions_rule)) || (preg_match('/ZS/',$login_permissions_rule))">
		<li>行政管理<i class="fa fa-angle-right"></i></li>
		</if>
		<if condition="preg_match('/PU/',$login_permissions_rule) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130006 && preg_match('/BM/',$login_permissions_rule)) || preg_match('/KP/',$login_permissions_rule) || preg_match('/PB/',$login_permissions_rule) || preg_match('/XQ/',$login_permissions_rule)">
		<li>人力资源<i class="fa fa-angle-right"></i></li>
		</if>
		<if condition="preg_match('/CRMH-K/',$login_permissions_rule) || (preg_match('/CRMF-P/',$login_permissions_rule))">
			<li>资金管理<i class="fa fa-angle-right"></i></li>
		</if>
<!--
		<if condition="preg_match('/KX/',$login_permissions_rule) || (preg_match('/KS/',$login_permissions_rule)) || (preg_match('/FZ/',$login_permissions_rule))">
		<li>财务中心<i class="fa fa-angle-right"></i></li>
		</if>
-->
		<if condition="preg_match('/KB/',$login_permissions_rule) || preg_match('/SK/',$login_permissions_rule) || preg_match('/JY/',$login_permissions_rule) || preg_match('/PJ/',$login_permissions_rule)">
		<li>数据看板<i class="fa fa-angle-right"></i></li>
		</if>
		<if condition="$_SESSION['dms_permissions_id'] eq 1">
		<li>企业微信<i class="fa fa-angle-right"></i></li>
		</if>
	</ul>
	<div id="footer">Copyright<br>&copy; 2017<br>版权所有</div>
</div>
<div id="sub-nav-box">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">个人</div>
			<ul class="sub-nav-list">
				<if condition="$is_project neq NULL || $is_project_function neq NULL || $is_project_user neq NULL || preg_match('/XM_U1_Q1/',$login_permissions_rule)">
				<li><a href="__APP__/Index/my_project">我参与的项目</a></li>
				</if>
				<li><a href="__APP__/Index/meeting_minutes">会议纪要</a></li>
				<if condition="(is_assist())">
				<li><a href="__APP__/Index/assist_apply">协作申请</a></li>
				</if>
				<li><a href="__APP__/Index/index_more/action/share/typ/1">消息</a></li>
				<if condition="(is_assist_yy())">
				<li><a href="__APP__/Index/schedule_list">日程管理</a></li>
				</if>
				<if condition="preg_match('/LC/',$login_permissions_rule)">
				<li><a href="__APP__/Index/audit_list">审核流程管理{:number(4)}</a></li>
				</if>
				<if condition="$is_task neq NULL">
				<li><a href="__APP__/Index/task_list">任务管理</a></li>
				</if>
				<li><a href="__APP__/Index/jixiao_appraisal">绩效评分</a></li>
				<if condition="$is_pbc neq NULL">
				<li><a href="__APP__/Index/jixiao_pbc_personal">个人PBC</a></li>
				</if>
				<if condition="preg_match('/XQ/',$login_permissions_rule)">
				<li><a href="__APP__/Hr/person_demand">人员需求管理</a></li>
				</if>
			</ul>
		</div>
	</div>
	<if condition="preg_match('/YW/',$login_permissions_rule) || preg_match('/KJ/',$login_permissions_rule) || preg_match('/GY/',$login_permissions_rule) || preg_match('/RC/',$login_permissions_rule) || preg_match('/MB/',$login_permissions_rule) || preg_match('/IP/',$login_permissions_rule)">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">搜库</div>
			<ul class="sub-nav-list">
				<if condition="preg_match('/YW/',$login_permissions_rule)">
				<li><a href="__APP__/Index/business_list">业务资料库</a></li>
				</if>
				<if condition="preg_match('/KJ/',$login_permissions_rule)">
				<li><a href="__APP__/Index/training_list">课件资料库</a></li>
				</if>
				<if condition="preg_match('/GY/',$login_permissions_rule)">
				<li><a href="__APP__/Index/partner_list">供应商库</a></li>
				</if>
				<if condition="preg_match('/RC/',$login_permissions_rule)">
				<li><a href="__APP__/Index/talent_list">内部专家库</a></li>
				</if>
				<if condition="preg_match('/MB/',$login_permissions_rule)">
				<li><a href="__APP__/Index/template_list">模板资料库</a></li>
				</if>
				<if condition="preg_match('/IP/',$login_permissions_rule)">
				<li><a href="__APP__/Index/ip100_list">IP100资源库</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>
<!--
	<if condition="(preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130003 || in_array('130003',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule)) || (preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/SC/',$login_permissions_rule)) || (preg_match('/JC_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/JC/',$login_permissions_rule)) || (preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/KH/',$login_permissions_rule)) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/BM/',$login_permissions_rule))">
	
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">拓展中心</div>
			<ul class="sub-nav-list">
				<if condition="(preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/SC/',$login_permissions_rule))">
				<li><a href="__APP__/Project/customer_information/center_id/130003">市场信息表</a></li>
				</if>
				<if condition="(preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130003 || in_array('130003',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule))">
				<li><a href="__APP__/Project/business_follow/center_id/130003">商务跟进项目</a></li>
				</if>
				<if condition="(preg_match('/JC_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/JC/',$login_permissions_rule))">
				<li><a href="__APP__/Project/customer_information_jc">市场信息联网总览</a></li>
				</if>
				<if condition="(preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/KH/',$login_permissions_rule))">
				<li><a href="__APP__/Project/project_contact/center_id/130003">客户名片</a></li>
				</if>
				<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130003 && preg_match('/BM/',$login_permissions_rule))">
				<li><a href="__APP__/Index/department_list/center_id/130003">部门共享库</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>
-->
	<if condition="preg_match('/CRMS-C/',$login_permissions_rule) || (preg_match('/CRML-X/',$login_permissions_rule)) || (preg_match('/CRMX-M/',$login_permissions_rule)) || (preg_match('/CRMH-T/',$login_permissions_rule)) || (preg_match('/CRMG-J/',$login_permissions_rule))">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">CRM</div>
			<ul class="sub-nav-list">
				<if condition="preg_match('/CRMS-C/',$login_permissions_rule)">
					<li><a href="__APP__/Crm/market_list">市场信息管理</a></li>
				</if>
				<if condition="preg_match('/CRMX-M/',$login_permissions_rule)">
					<li><a href="__APP__/CrmProject/index">拓展项目管理</a></li>
				</if>
				<if condition="preg_match('/CRML-X/',$login_permissions_rule)">
					<li><a href="__APP__/Crm/contact_list">联系人管理</a></li>
				</if>
				<if condition="preg_match('/CRMH-T/',$login_permissions_rule)">
					<li><a href="__APP__/Contract/index">合同管理</a></li>
				</if>
				<if condition="preg_match('/CRMG-J/',$login_permissions_rule)">
					<li><a href="__APP__/Crm/follow_list">跟进记录</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>
	
	<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130004 or in_array('130004',$login_select_id)) && preg_match('/XM/',$login_permissions_rule)) || (preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130004 || in_array('130004',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule)) || (preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/SC/',$login_permissions_rule)) || (preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/KH/',$login_permissions_rule)) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/BM/',$login_permissions_rule))">
	
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">建设管理</div>
			<ul class="sub-nav-list">
			<!--
				<if condition="(preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/SC/',$login_permissions_rule))">
				<li><a href="__APP__/Project/customer_information/center_id/130004">市场信息表</a></li>
				</if>
				<if condition="(preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130004 || in_array('130004',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule))">
				<li><a href="__APP__/Project/business_follow/center_id/130004">商务跟进项目</a></li>
				</if>
			-->
				<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130004 or in_array('130004',$login_select_id)) && preg_match('/XM/',$login_permissions_rule))">
				<li><a href="__APP__/Project/project_list/center_id/130004">项目管理</a></li>
				</if>
			<!--
				<if condition="(preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/KH/',$login_permissions_rule))">
				<li><a href="__APP__/Project/project_contact/center_id/130004">客户名片</a></li>
				</if>
				<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130004 && preg_match('/BM/',$login_permissions_rule))">
				<li><a href="__APP__/Index/department_list/center_id/130004">部门共享库</a></li>
				</if>
			-->
			</ul>
		</div>
	</div>
	</if>
	<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130005 or in_array('130005',$login_select_id)) && preg_match('/XM/',$login_permissions_rule))  || preg_match('/ZB/',$login_permissions_rule) || (preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130005 && preg_match('/KH/',$login_permissions_rule)) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130005 && preg_match('/BM/',$login_permissions_rule)) || preg_match('/YX/',$login_permissions_rule) || preg_match('/JY/',$login_permissions_rule)">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">运营管理</div>
			<ul class="sub-nav-list">
				<!--<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130005 or in_array('130005',$login_select_id)) && preg_match('/XM/',$login_permissions_rule))">
				<li><a href="__APP__/Project/project_list/center_id/130005">项目管理</a></li>
				</if>
				<if condition="preg_match('/ZB/',$login_permissions_rule)">
				<li><a href="__APP__/Project/project_operate_reply">运营周报管理</a></li>
				</if>-->
				<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130005 or in_array('130005',$login_select_id)) && preg_match('/XM/',$login_permissions_rule))">
				<li><a href="__APP__/CrmProjects/index">项目管理</a></li>
				</if>
				<if condition="preg_match('/ZB/',$login_permissions_rule)">
					<li><a href="__APP__/CrmProjects/weekly_reply">运营周报管理</a></li>
				</if>
				<if condition="(preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130005 && preg_match('/KH/',$login_permissions_rule))">
				<li><a href="__APP__/Project/project_contact/center_id/130005">客户名片</a></li>
				</if>
				<!--
				<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130005 && preg_match('/BM/',$login_permissions_rule))">
				<li><a href="__APP__/Index/department_list/center_id/130005">部门共享库</a></li>
				</if>
				-->
				<if condition="preg_match('/YX/',$login_permissions_rule)">
				<li><a href="__APP__/Index/project_plan_list">营销计划管理{:number(3)}</a></li>
				</if>
				<if condition="preg_match('/JY/',$login_permissions_rule)">
				<li><a href="__APP__/Project/project_operate_data">经营数据总览</a></li>
				</if>
                <if condition="preg_match('/CP/',$login_permissions_rule)">
                <li><a href="__APP__/ProductSupplierManage/index">产品供应商管理</a></li>
                </if>
			</ul>
		</div>
	</div>
	</if>
<!--
	<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130011 or in_array('130011',$login_select_id)) && preg_match('/XM/',$login_permissions_rule)) || (preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130011 || in_array('130011',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule)) || (preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/SC/',$login_permissions_rule)) || (preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/KH/',$login_permissions_rule)) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/BM/',$login_permissions_rule))">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">景翼</div>
			<ul class="sub-nav-list">
				<if condition="(preg_match('/SC_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/SC/',$login_permissions_rule))">
				<li><a href="__APP__/Project/customer_information/center_id/130011">市场信息表</a></li>
				</if>
				<if condition="(preg_match('/SW_U1/',$login_permissions_rule)) || (($login_center_id eq 130011 || in_array('130011',$login_sw_select_id)) && preg_match('/SW/',$login_permissions_rule))">
				<li><a href="__APP__/Project/business_follow/center_id/130011">商务跟进项目</a></li>
				</if>
				<if condition="(preg_match('/XM_U1/',$login_permissions_rule)) || (($login_center_id eq 130011 or in_array('130011',$login_select_id)) && preg_match('/XM/',$login_permissions_rule))">
				<li><a href="__APP__/Project/project_list/center_id/130011">项目</a></li>
				</if>
				<if condition="(preg_match('/KH_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/KH/',$login_permissions_rule))">
				<li><a href="__APP__/Project/project_contact/center_id/130011">客户名片</a></li>
				</if>
				<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130011 && preg_match('/BM/',$login_permissions_rule))">
				<li><a href="__APP__/Index/department_list/center_id/130011">部门共享库</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>
-->
	<!--<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130008 && preg_match('/BM/',$login_permissions_rule))">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">管理学院</div>
			<ul class="sub-nav-list">
				<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130008 && preg_match('/BM/',$login_permissions_rule))">
				<li><a href="__APP__/Index/department_list/center_id/130008">部门共享库</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>-->
	<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130007 && preg_match('/BM/',$login_permissions_rule)) || (preg_match('/WZ/',$login_permissions_rule)) || (preg_match('/ZW/',$login_permissions_rule)) || (preg_match('/ZS/',$login_permissions_rule))">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">行政管理</div>
			<ul class="sub-nav-list">
				<!--
				<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130007 && preg_match('/BM/',$login_permissions_rule))">
				<li><a href="__APP__/Index/department_list/center_id/130007">部门共享库</a></li>
				</if>
				-->
				<if condition="preg_match('/WZ/',$login_permissions_rule)">
				<li><a href="__APP__/Administration/material">物资库</a></li>
				</if>
				<if condition="preg_match('/ZW/',$login_permissions_rule)">
				<li><a href="__APP__/Administration/seat_map">座位表</a></li>
				<if condition="preg_match('/ZW_U1/',$login_permissions_rule)">
				<li><a href="__APP__/Administration/seat_map_user">座位人员</a></li>
				</if>
				</if>
				<if condition="preg_match('/ZS/',$login_permissions_rule)">
				<li><a href="__APP__/Administration/login_show">登录页展示</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>
	<if condition="preg_match('/PU/',$login_permissions_rule) || (preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130006 && preg_match('/BM/',$login_permissions_rule)) || preg_match('/KP/',$login_permissions_rule) || preg_match('/PB/',$login_permissions_rule) || preg_match('/XQ/',$login_permissions_rule)">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">人力资源</div>
			<ul class="sub-nav-list">
				<if condition="preg_match('/PU/',$login_permissions_rule)">
				<li><a href="__APP__/Hr/project_user">项目人员管理</a></li>
				</if>
			<!--	
				<if condition="(preg_match('/BM_U1/',$login_permissions_rule)) || ($login_center_id eq 130006 && preg_match('/BM/',$login_permissions_rule))">
				<li><a href="__APP__/Index/department_list/center_id/130006">部门共享库</a></li>
				</if>
			-->
				<if condition="preg_match('/KP/',$login_permissions_rule)">
				<li><a href="__APP__/Hr/jixiao_personal">绩效分数</a></li>
				</if>
				<if condition="preg_match('/PB/',$login_permissions_rule)">
				<li><a href="__APP__/Hr/jixiao_pbc">PBC管理</a></li>
				</if>
				<if condition="preg_match('/XQ/',$login_permissions_rule)">
				<li><a href="__APP__/Hr/person_demand">人员需求管理</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>
	<if condition="(preg_match('/FZ/',$login_permissions_rule)) || (preg_match('/KS/',$login_permissions_rule)) || preg_match('/KX/',$login_permissions_rule) || preg_match('/CRMH-K/',$login_permissions_rule) || (preg_match('/CRMF-P/',$login_permissions_rule))">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">资金管理</div>
			<ul class="sub-nav-list">
				<if condition="preg_match('/CRMH-K/',$login_permissions_rule)">
					<li><a href="__APP__/ContractBack/index">收款管理 </a></li>
				</if>
				<if condition="preg_match('/CRMF-P/',$login_permissions_rule)">
					<li><a href="__APP__/ContractBack/invoice">发票管理 </a></li>
				</if>
				<if condition="preg_match('/KS/',$login_permissions_rule)">
				<!--<li><a href="__APP__/Financial/project_funds_total">项目款项统计</a></li>-->
					<li><a href="__APP__/ContractBack/payment_statistics">项目款项统计</a></li>
				</if>
				<br/>
				<br/>
				<if condition="preg_match('/CRMG-B/',$login_permissions_rule)">
				<li><a href="__APP__/Report/index">管理月报表</a></li>
				</if>
				<if condition="preg_match('/CRMM-R/',$login_permissions_rule)">
				<li><a href="__APP__/Crm/income_month">收入月报表</a></li>
				</if>
				<if condition="preg_match('/CRMI-R/',$login_permissions_rule)">
				<li><a href="__APP__/Crm/income_rule_list">收入规则</a></li>
				</if>
				<br/>
				<br/>
				<if condition="preg_match('/FZ/',$login_permissions_rule)">
					<li><a href="__APP__/Financial/cost_list">财务费用总览</a></li>
					<li><a href="__APP__/Financial/cost_total_type">财务费用统计(按类型)</a></li>
					<li><a href="__APP__/Financial/cost_list_statistics">财务费用统计(按周期)</a></li>
					</if>
			</ul>
		</div>
	</div>
	</if>
<!--
	<if condition="preg_match('/KX/',$login_permissions_rule) || (preg_match('/KS/',$login_permissions_rule)) || (preg_match('/FZ/',$login_permissions_rule))">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">财务中心</div>
			<ul class="sub-nav-list">
				<if condition="preg_match('/KX/',$login_permissions_rule)">
				<li><a href="__APP__/Financial/project_funds">项目款项列表</a></li>
				</if>
				<if condition="preg_match('/KS/',$login_permissions_rule)">
				<li><a href="__APP__/Financial/project_funds_total">项目款项统计</a></li>
				</if>
				<if condition="preg_match('/FZ/',$login_permissions_rule)">
				<li><a href="__APP__/Financial/cost_list">财务费用总览</a></li>
				<li><a href="__APP__/Financial/cost_total_type">财务费用统计(按类型)</a></li>
				<li><a href="__APP__/Financial/cost_list_statistics">财务费用统计(按周期)</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>
-->
	<if condition="preg_match('/KB/',$login_permissions_rule) || preg_match('/SK/',$login_permissions_rule) || preg_match('/JY/',$login_permissions_rule) || preg_match('/PJ/',$login_permissions_rule)">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">数据看板</div>
			<ul class="sub-nav-list">
				<if condition="preg_match('/SK/',$login_permissions_rule)">
					<li><a href="__APP__/DataSpectaculars/back_data">收款看板</a></li>
				</if>
				<if condition="preg_match('/JY/',$login_permissions_rule)">
					<li><a href="__APP__/DataSpectaculars/manage">公司经营看板</a></li>
				</if>
				<if condition="preg_match('/PJ/',$login_permissions_rule)">
					<li><a href="__APP__/DataSpectaculars/project">项目管理看板</a></li>
				</if>
				<if condition="preg_match('/KB/',$login_permissions_rule)">
					<li><a href="__APP__/DataSpectaculars/enable">驴妈妈赋能看板</a></li>
				</if>
			</ul>
		</div>
	</div>
	</if>
	<if condition="$_SESSION['dms_permissions_id'] eq 1">
	<div class="sub-nav-block">
		<div class="sub-nav-item">
			<div class="title">企业微信管理</div>
			<ul class="sub-nav-list">
				<li><a href="__APP__/EnterpriseWeChat/push">企业微信推送管理</a></li>
				<li><a href="__APP__/EnterpriseWeChat/push_log">企业微信推送记录</a></li>
			</ul>
		</div>
	</div>
	</if>
</div>